Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify decompiler output #7

Merged
merged 8 commits into from
Apr 29, 2024
Merged

Conversation

Rog3rSm1th
Copy link
Member

This PR :

  • Creates a verbose version of decompiler. The default version removes :
    • variables drop.
    • store_temp statements with the same variable (e.g. v1 = store_temp<felt252>(v1)).
    • branch_align, disable_ap_tracking, finalize_locals, revoke_ap_tracking libfuncs calls.
  • Adds a --verbose option to the CLI tool.
  • Enhance arithmetic operations formatting in the decompiler output : felt252_add([0], [1]) becomes v0 + v1.
  • Adds colored formatting to curly braces to vizualize scope.
  • Updates the documentation.

@Rog3rSm1th Rog3rSm1th merged commit cf0e38e into master Apr 29, 2024
1 check passed
@Rog3rSm1th Rog3rSm1th deleted the feat/simplify-decompiler-output branch April 29, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant